from . import views
from django.conf.urls import url
from django.contrib import admin

urlpatterns = [
    # 个人中心
    url(r'^api/v1.0/user$',views.UserInfoView.as_view()),
    # 上传头像
    url(r'^api/v1.0/user/avatar$',views.UploadView.as_view()),
    # 用户名修改
    url(r'^api/v1.0/user/name$',views.ChangeUserName.as_view()),
    # 用户实名认证
    url(r'^api/v1.0/user/auth$',views.UserAuthentication.as_view()),
]
